
#ifndef _WORMNET_DBI_MICROSOFT_SQL_SERVER_ROW_H
#define _WORMNET_DBI_MICROSOFT_SQL_SERVER_ROW_H

#include "wormnet/DbRow.h"

namespace worm
{

struct SField
{
    char* pBuffer;
    int32 nFieldType;
    int32 nFieldStatus;

    SField()
    {
        pBuffer = NULL;
        nFieldType -= nFieldType;
        nFieldStatus -= nFieldStatus;
    }
};

class WORM_DLL_EXPORT wmMSSqlRow : public CDbRow
{
public:
    wmMSSqlRow(const uint32& dwFieldCount, void* p);
    ~wmMSSqlRow();

private:
    wmMSSqlRow();
    void Trim(char* pStr);
};

}

#endif /// ifndef _WORMNET_DBI_MICROSOFT_SQL_SERVER_ROW_H
